package com.pig4cloud.pigx.user.dto;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * ApiIp封禁DTO
 *
 * @since 2022/10/31 11:39
 */
@Data
public class UserApiIpLockDTO implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 主键
	 */
	@NotNull(message = "参数异常，id为空")
	private Long id;

	/**
	 * 原因
	 */
	@Length(max = 200, message = "原因最多输入200字")
	private String remark;
}
